/*
 * Application\Inc\led.h
 *
 * Cargo LED function
 *
 * Author: Chao-Chi Kuo <chaochi_kuo@systech.com.tw>
 * Copyright (c) 2010 SYSTEMS & TECHNOLOGY CORP. <http://www.systech.com.tw/>
 * All rights reserved.
 *
 * Modifications:
 * 2009/11/18 Chao-Chi Kuo	first implemetation
 *
 * $Id: led.h 196 2010-08-05 01:54:48Z chaochi_kuo $
 */
#ifndef __LED_H_
#define __LED_H_

#ifdef  __cplusplus
extern "C" {
#endif		/* __cplusplus */


#include "config.h"

extern void LED_Init(void);
extern void LED_PWR_On(void);
extern void LED_PWR_Off(void);

extern void Power_LED_Green(void);
extern void Power_LED_Red(void);

extern void GPS_LED_On(void);
extern void GPS_LED_Flash(unsigned char flash, unsigned char interval);
extern void GPS_LED_Off(void);

void LED_TEST_Task(void);

void bt_led_on(void);
void bt_led_off(void);
void pw_led_on(void);
void pw_led_off(void);
void gps_led_on(void);
void gps_led_off(void);

#ifdef __cplusplus
}
#endif	/* __cplusplus */
#endif	/* __LED_H_ */